{extend name="index/iframe" /}

{block name="content"}
<form class="layui-form layui-form-my" method="post" action="">
    <input type="hidden" value="{$Think.get.id}" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label">礼包名称</label>
        <div class="layui-input-block">
            <input type="text" value="{$find.name}" disabled lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input layui-disabled">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">游戏名称</label>
        <div class="layui-input-block">
            <input type="text" value="{$find.game_id} ：{$find.game_name}" id="game_id" disabled lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input layui-disabled">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">剩余数量</label>
        <div class="layui-input-block">
            <input type="text" value="{$find.keep_num}" id="keep_num" disabled lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input layui-disabled">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">裁剪数量</label>
        <div class="layui-input-block">
            <input type="text" name="cut_num" class="layui-input" lay-verify="required|number">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn my-btn" lay-submit="" lay-filter="submitBtn">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}

{block name="css"}{/block}

{block name="js"}
<script>
    layui.use(['form', 'layedit', 'element'], function(){
        var form = layui.form
            ,$ = layui.$
            ,layer = layui.layer;

    });
</script>
{/block}